C (131/301)

From:Jens Granseuer
Date:23 Aug 99 at 19:40:09
Subject:Re: Drawing in a window

From: Jens Granseuer <jensgr@gmx.net>

Jesper Svennevid wrote:

> > From: Fritsch Alexander <Alexander.Fritsch@icn.siemens.de>
> > What is the right way to prevent my window
> > from beeing damaged? (But I need to be as fast as possible)
>
> There are two solutions to this: You could set the window-
> refresh into smart-refresh, and handle the damage-messages
> that your window will send to you, allowing you to use your
> own code to patch up the "holes", or you could set it to
> simple-refresh and then Intuition will handle all that
> refreshing.

If I'm not mistaken, it's the other way around. SMART_REFRESH
to let intuition do the dirty work, and SIMPLE_REFRESH to do
it yourself...

> > Programming the amiga would be much simpler I we had much
> > more books or examples, the RKRMs or the autodocs are a
> > good reference if now what you are looking for, but they
> > are insufficient if you need an entry in the world of
> > Amiga-specific programming :-(
>
> Bah, I've coped with only includes, autodocs & a few example-
> sources all this time, so it isn't THAT hard :) I've never
> felt the need for reading the RKRMs :)

Oh my, it certainly could help sometimes. I didn't even
have the autodocs for quite a long time. I still miss
the RKRM's very much. You never find the examples you
need. (Yes, I know what you'll be saying: "Buy the
developer CD!" Well, I did. V1.1. Without the RKRM's.
But still, without a CD-ROM drive... And, no, I won't
buy a new Amiga before I can see what's to become of it
all.)

Jens